<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>乐i-订单管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/css/see/reset.min.css">
    <link rel="stylesheet" href="/css/happyi/myCommodity.min.css?v=<%=$version%>">
</head>
<body>
<div id="orderAdmin" v-cloak>
    <div class="circleBar-top">
        <span class="goback" @click="getBack()"></span>
        订单管理
        <span class="circleBar-sear" @click="getNext(1)"></span>
    </div>
    <div class="myPost-tab clearfix">
        <span :class="{'active':value==0}" @click="getTab(0)">进行中</span>
        <span :class="{'active':value==1}" @click="getTab(1)">已完成</span>
        <span :class="{'active':value==2}" @click="getTab(2)">已关闭</span>
    </div>
    <div class="orderAdmin-nav clearfix" v-if="value==0">
        <a :class="{'active':list.state==3}" @click="getSelet(3)">
            <strong>{{listHeader.deliveryCount}}</strong>
            待发货
        </a>
        <a :class="{'active':list.state==1}" @click="getSelet(1)">
            <strong>{{listHeader.paymentfCount}}</strong>
            待付款
        </a>
        <a :class="{'active':list.state==4}" @click="getSelet(4)">
            <strong>{{listHeader.shippedCount}}</strong>
            已发货
        </a>
        <a :class="{'active':list.state==9}" @click="getSelet(9)">
            <strong>{{listHeader.salecCount}}</strong>
            退款/售后
        </a>
    </div>
    <div class="order-list clearfix" @click="getNext(2,item.orderNumber)" v-for="item in noticeList2" :key="item.productId">
        <strong class="order-listHead" :style="bgimg(item.subList[0].imgSrc)"></strong>
        <div class="order-listRight">
            <p>订单号:<span>{{item.orderNumber}}</span></p>
            <p>收货人:<span>{{item.consignee||item.name}}</span></p>
            <div>{{item.createDate}}
                <span v-if="list.state!=9">{{{"1":"等待付款","2":"确定订单","3":"已支付","4":"已发货","5":"已收货","6":"暂存储","7":"已完成","8":"已取消","9":"已转售","10":"已关闭"}[""+item.state]}}</span>
                <span class="state" v-if="list.state==9">{{{"10":"申请退款","20":"取消退款","30":"同意退款","40":"拒绝退款","50":"买家投诉","55":"买家取消投诉","60":"申请退货退款","65":"取消退货退款","66":"已发退货快递","70":"同意退货退款","80":"拒绝退货退款","90":"退货退款完成","100":"买家举证","110":"卖家举证"}[""+item.afterState]}}</span>
            </div>
            <!--1 等待付款 2 确定订单 3 已支付 4 已发货 5 已收货 6 暂存储 7 已完成  8 已取消 9 已转售 10 已关闭 afterState 售后状态 10申请退款  20 取消退款 30 同意退款 40拒绝退款 45退款完成50买家投诉 60申请退货退款70同意退货退款 80拒绝退货退款  90退货退款完成100买家举证110卖家举证-->
        </div>
    </div>
    <div class="loadtip" v-if="loadFlag"></div>
    <prompt-view ref="prompt"></prompt-view>
</div>
<script src='/plugins/js/jquery-1.11.3.min.js'></script>
<script type="text/javascript" src="/plugins/js/vue.min.js"></script>
<script type="text/javascript" src="/js/happyi/orderAdmin.js?v=<%=$version%>"></script>

</body>
</html>